<div class="container">
    <?php echo validation_errors("<div class='alert alert-danger'>", "</div>"); ?>
    <form class="form-horizontal" method="post" enctype="multipart/form-data">
        
        <div class="form-group">
            <label class="col-lg-2 control-label">Razón Social</label>
            <div class="col-lg-4"><input type="text" id="proveedor" name="proveedor" class="form-control"></div>
        </div>
        
        <div class="form-group">
            <label class="col-lg-2 control-label">Dirección</label>
            <div class="col-lg-4"><input type="text" name="direccion" class="form-control"></div>
        </div>
        
        <div class="form-group">
            <label class="col-lg-2 control-label">Teléfono</label>
            <div class="col-lg-4"><input type="text" name="telefono" class="form-control"></div>
        </div>
        
        <div class="form-group">
            <label class="col-lg-2 control-label"></label>
            <div class="col-lg-4"><button type="submit" class="btn btn-primary">Agregar</button></div>
        </div>
    </form>
</div>

<script type="text/javascript">
    $(document).ready(function(){
        $("#proveedor").focus();
    });
</script>
